import { defineStore } from "pinia";
import { reactive, ref } from "vue";

const useMusicStore = defineStore('music', () => {
  const nowMusicId = ref(0)//正在播放
  const search = ref("") //搜索




  return {search,nowMusicId};
}, {
  //开启用户信息持久化
  persist: true
})

export default useMusicStore;
